package com.scm.biz.dao;

import java.util.List;

import com.scm.biz.bean.ProductionPattern;
import com.scm.biz.result.ProductionDetailResult;
import com.scm.biz.result.ProductionNoticeResult;

public interface ProductionPatternDao {
    int deleteByPrimaryKey(Long id);

    int insert(ProductionPattern record);

    int insertSelective(ProductionPattern record);

    ProductionPattern selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(ProductionPattern record);

    int updateByPrimaryKey(ProductionPattern record);
    

	public List<ProductionPattern> selectByProductionOrderId(Long productionOrderId);
	
	/**
	 * 获取大货生产通知单相关信息
	 * @return
	 */
	List<ProductionDetailResult> selectProductionDetail(List<Long> ids);
	
	/**
	 * 获取大货生产通知单列表
	 * @param ids
	 * @return
	 */
	List<ProductionNoticeResult> selectProdutionNotice(List<Long> ids);
}